<div ng-controller='fenleiCtrl' class="container">

	<div class="row">

		<form class="form-inline" role="form">
			<button type="submit" class="btn btn-default" ng-click="showFenlei=!showFenlei">
				显示/隐藏分类
			</button>
			<div class="form-group">
				<input type="text" ng-model="fenleiSearch" class="form-control"  placeholder="搜索分类">
			</div>
			<div class="form-group">
				<input type="text" ng-model="companySearch" class="form-control" ng-change="searchCompany()" placeholder="搜索公司">
			</div>
		</form>
		<!--分类列表-->
		<div class="col-md-12 thumbnail fenlei" ng-show="showFenlei || fenleiSearch">
			<span ng-repeat="i in fenleiList | filter:fenleiSearch" ng-click="clickFenlei($index)"> {{i.name}}({{i.count}}) </span>
		</div>

	</div>
	<h3>公司</h3>
	<div class="company row thumbnail ">
		<span ng-repeat='i in companyShow.id_list' ng-click="clickCompany($index)">{{i}} {{companyShow.title_list[$index]}}</span>
	</div>
	<h3>{{nowCompany}} {{nowCompanyName}}</h3>

	<div class="row" ng-show="nowCompany">
		<ng-include src=" '/static/company.html' "></ng-include>	
	</div>
	
</div>


